package com.cqw.commontest.io;

import java.io.File;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-05-30 23:44
 * @Description:
 */
public class FileBatch {

    public static void main(String[] args) {
        String fileName = "a,b,c,d";
        String[] split = fileName.split(",");
        for (String s : split) {
            File file = new File("D:\\新建文件夹\\" + s);
            if (!file.exists()) {
                file.mkdirs();
            }
        }


    }


}
